home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Texteditors
/
Write3
/
Config
/
VIEW.config
< prev
next >
Wrap
Text File
|
1996-09-26
|
5KB
|
414 lines
/* $VER: VIEW.CONFIG 3.848 */
VERSIONCHECK 3848 "VIEW.CONFIG"
/* Userfunktionen */
BEGIN
;
CLOSE
;
SETUSERFKT 0
SETVAR "_Path" _RS
NEWED ""
WINDOW 0 0 0 0
OPEN _PATH
;
SETUSERFKT 1
QUITED
;
/* Variablen */
SETVAR "_ScrRelWidth" 698
SETVAR "_ScrRelHeight" 528
SETVAR "_EditMode" FALSE
SETVAR "_Optimize" TRUE
SETVAR "_FRPattern" "~(#?.info)"
/* Tastaturbelegung */
KEY "numpad shift 1"
GOTO _XPOS _LENGTH
;
KEY "numpad shift 2"
CURSORDOWN 0
;
KEY "numpad shift 3"
PAGEDOWN 90
;
KEY "numpad shift 4"
CURSORLEFT 0
;
KEY "numpad shift 5"
SETTITLE "Set Mark." 0
SETMARK
;
KEY "numpad shift 6"
CURSORRIGHT 0
;
KEY "numpad shift 7"
GOTO _XPOS 1
;
KEY "numpad shift 8"
CURSORUP 0
;
KEY "numpad shift 9"
PAGEUP 90
;
KEY "numpad enter"
RETURN
;
KEY "escape"
ICONIFY
;
KEY "up"
CURSORUP 0
;
KEY "shift up"
PAGEUP 90
;
KEY "alt up"
GOTO _XPOS 1
;
KEY "down"
CURSORDOWN 0
;
KEY "shift down"
PAGEDOWN 90
;
KEY "alt down"
GOTO _XPOS _LENGTH
;
KEY "right"
CURSORRIGHT 0
;
KEY "shift right"
GOTO @EOL @EOL
;
KEY "alt right"
NEXTWORD
;
KEY "left"
CURSORLEFT 0
;
KEY "shift left"
GOTO @SOL @SOL
;
KEY "alt left"
LASTWORD
;
KEY "f1"
GOTEXTMARK 0
;
KEY "shift f1"
SETTEXTMARK 0
;
KEY "f2"
GOTEXTMARK 1
;
KEY "shift f2"
SETTEXTMARK 1
;
KEY "f3"
GOTEXTMARK HIGHER
;
KEY "shift f3"
SETTEXTMARK HIGHER
;
KEY "f4"
GOTEXTMARK 3
;
KEY "shift f4"
SETTEXTMARK 3
;
KEY "f5"
GOTEXTMARK 4
;
KEY "shift f5"
SETTEXTMARK 4
;
KEY "shift help"
HELP
;
DOUBLEKEY "rawmouse lbutton mouse_leftpress" "rawmouse lbutton mouse_leftpress"
IF {@CLEARRN}
GOTOMOUSE {@SAMEPOS};
SETMARK;
GOTOMOUSE ;
;
KEY "rawmouse lbutton mouse_leftpress"
GOTOMOUSE
;
DOUBLEKEY "rawmouse rbutton mouse_rightpress" "rawmouse rbutton mouse_rightpress"
MACROPANNEL
;
KEY "rawmouse rbutton lbutton mouse_rightpress"
UNMARK
;
/* Menues */
MENU "PROJEKT"
ITEM "Öffne..." "O"
GETFILE "" ""
OPEN _PATH
;
ITEMBAR
ITEM "Speichern" "S"
SAVE _FILENAME
;
ITEM "Speichern als..." "A"
GETFILE "" "" {@SAVE}
SETVAR "_FileName" _PATH
SAVE _FILENAME
;
ITEM "Speicher als RAW..." ""
GETFILE "" "" {@SAVE}
SAVE _PATH {@RAW}
;
ITEM "Speichern & neu öffnen..." ""
SAVE _FILENAME
GETFILE "" ""
OPEN _PATH
;
ITEM "Text ausdrucken" "*"
SAVE "PRT:"
;
ITEMBAR
ITEM "Neues Fenster »" ""
NOP
;
SUB "GROßES FENSTER" "B"
NEWED "VIEW.config"
WINDOW 0 0 0 0
;
SUB "kleines Fenster" "W"
NEWED "VIEW.config"
WINDOW 100 50 100 50
;
ITEM "Iconify" "I"
ICONIFY
;
ITEM "Hide" ""
HIDE
;
ITEM "WinArranger" "§"
WINARRANGER 1
;
ITEM "WinManager" "$"
WINMANAGER
;
ITEMBAR
ITEM "Über WRITE" "!"
ABOUT
;
ITEMBAR
ITEM "Ende" "Q"
QUITED
;
MENU "EDIT"
ITEM "Setze Marke" "M"
SETTITLE "Marke gesetzt." 0
SETMARK
;
ITEM "Lösche Marke" "U"
UNMARK
;
ITEMBAR
ITEM "Kopieren" "C"
COPYBLOCK 0
SETTITLE "Block kopiert." 0
;
ITEM "Nach Clip kopieren" ""
COPYBLOCK 0
BUFFERTOCLIP 0 0
SETTITLE "Block kopiert." 0
;
ITEM "Speicher Block als..." ""
COPYBLOCK 0
GETFILE "" "" {@SAVE}
SAVEBUFFER _PATH 0
;
ITEM "Drucke Block" ""
COPYBLOCK 0
SAVEBUFFER "PRT:" 0
;
MENU "UTLITIES"
ITEM "Zeige Zeit & Datum" "T"
MESSAGEOK "Aktuelle Zeit ist :\n$_Time$"
;
ITEMBAR
ITEM "Match Bracket" "("
MATCHBRACKET
;
MENU "SEARCH"
ITEM "Zähle..." ""
GETFINDREPLACE _FINDSTRING ""
IF
COMPARE _MARKED HIGHER;
FIND @MARKA @MARKA @MARKB @MARKB {@COUNT};
FIND @CURSOR @CURSOR @EOT @EOT {@COUNT};
MESSAGEOK "\"$_FindWord$\"\nwurde $_RN$ mal gefunden !"
;
ITEMBAR
ITEM "Finde..." "F"
GETFINDREPLACE _FINDSTRING ""
IF
COMPARE _MARKED HIGHER;
FIND @MARKA @MARKA @MARKB @MARKB ;
FIND @CURSOR @CURSOR @EOT @EOT ;
;
ITEM "Finde noch einmal" "N"
IF
COMPARE _MARKED HIGHER;
FIND @MARKA @MARKA @MARKB @MARKB ;
FIND @CURSOR @CURSOR @EOT @EOT ;
;
ITEMBAR
ITEM "Suche nach Muster..." ""
GETSTRING "Bitte geben sie das Suchmuster an :\n(Case)" _PATCASE
SETVAR "_PatCase" _RS
FINDPATTERN @CURSOR @EOT {@CASE}
;
ITEM "Suche noch einmal" ""
FINDPATTERN @CURSOR @EOT {@CASE}
;
ITEM "Suche nach Muster (no Case)..." "Ö"
GETSTRING "Bitte geben sie das Suchmuster an :\n(No case)" _PATNOCASE
SETVAR "_PatNoCase" _RS
FINDPATTERN @CURSOR @EOT {@NOCASE}
;
ITEM "Suche noch einmal" "Ä"
FINDPATTERN @CURSOR @EOT {@NOCASE}
;
ITEMBAR
ITEM "Springe zu Zeile..." "G"
GETNUMBER "Springe zu Zeile :" _YPOS
GOTO _XPOS _RN
;
ITEMBAR
ITEM "Zeige Index..." "J"
GETSTRING "Bitte geben sie das Suchmuster\nfür den Index an :" "#?#?"
SHOWINDEX _RS {@CASE}
;
MENU "PREFS"
ITEM "Globale Prefs" ""
GPREFS
;
ITEM "Prefs" "+"
PREFS
;
MENU "HELP"
ITEM "Zeige Variablen" ""
SHOWVARS
;
ITEM "Zeige Funktionen" ""
SHOWFUNCTIONS
;
ITEM "Zeige ASCII-Codes" ""
SHOWASCII
;
ITEM "Hilfe zu Stichwort..." "?"
GETSTRING "Bitte geben sie das gesuchte Stichwort ein :" ""
GUIDEHELP _RS
;